from app import jsonify,request

def res_json(code,data,msg):
    return jsonify({
        'code':code,
        'data':data,
        'msg':msg
    })